@echo off

for /f %%i in (XXX.txt) do echo %%i>>lov.txt

pause